def numericSum(num):
    total = 0
    num =abs(num)
    while num > 0:
        digit=num%10
        total=digit+total
        num=num//10
    return total
x=numericSum(23)
print(x)